package com.easm.servicesteacher.controller;

import com.easm.commonutils.CommonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(description ="教师个人管理")
@RestController
@RequestMapping("/service/teacher")
public class TeacherController {

    //info
    @GetMapping("info")
    @ApiOperation("教师信息")
    public CommonResult info() {
        return CommonResult.ok().data("roles","[teacher]").data("name","teacher").data("info","教师个人信息");
    }
}
